package com.example.designpatterns.model.handle;

/**
 * @author yanyun zhu
 * @version 1.0
 * @date 2022/1/6 14:20
 */
public class Application {
    public static void main(String[] args) {
        HandlerChain chain = new HandlerChain();
        chain.addHandler(new HandlerA());
        chain.addHandler(new HandlerB());
        chain.handle();
    }
}
